<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2021/8/10
  Time: 9:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1">
    <tr>
        <td>编号</td>
        <td>名字</td>
       <%-- <td>生日</td>--%>
        <td>删除</td>
    </tr>
    <c:forEach var="stu" items="${stuList}">
        <tr>
            <td>${stu.typeId}</td>
            <td>${stu.typeName}</td>
           <%-- <td>${stu.stuBirthdayStr}</td>--%>
            <td><a href="/stuServlet?method=delete&stuId=${stu.typeId}">删除</a></td>
        </tr>
    </c:forEach>
</table>
<form action="/stuServlet?method=add" method="post">
    名字:<input type="text" name="typeName" /><br/>
  <%--  生日:<input type="text" name="stuBirthday" /><br/>--%>
    <input type="submit" value="zengjia" />
</form>
</body>
</html>